package cn.mrlong.base.utils;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
 * Created by BINGO on 2018/05/16.
 */

public class CallPhoneUtil {

    private static void call(Context context, String phoneNumb) {
        Intent intent = new Intent();
        intent.setAction(Intent.ACTION_CALL);
        intent.setData(Uri.parse("tel:" + phoneNumb));
        context.startActivity(intent);
    }

}
